import App from './App'


// #ifndef VUE3
import Vue from 'vue'
import uView from 'uview-ui'
import http from '@/api/request.js'
import mixins from '@/mixins/index'; // 全局混入
import './uni.promisify.adaptor'
import store from './store'

Vue.config.productionTip = false
Vue.use(uView)
Vue.use(http);
Vue.mixin(mixins); // 全局混入
Vue.prototype.$baseImgUrl = 'https://test.tuzikp.com/'; // 全局图片初始地址
App.mpType = 'app'
const app = new Vue({
  ...App,
  store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif